package cn.wm.netty.http_pro.exception;

import cn.hutool.core.util.StrUtil;

public class ServerConfigException extends RuntimeException {

    public ServerConfigException(Throwable e) {
        super(e);
    }

    public ServerConfigException(String message) {
        super(message);
    }

    public ServerConfigException(String messageTemplate, Object... params) {
        super(StrUtil.format(messageTemplate, params));
    }

    public ServerConfigException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public ServerConfigException(Throwable throwable, String messageTemplate, Object... params) {
        super(StrUtil.format(messageTemplate, params), throwable);
    }
}
